package com.koron.css2.clientCenter.impl;

import com.koron.css2.common.dto.AttachmentDto;
import com.koron.css2.common.service.AbstractExportExcel;
import com.koron.css2.serviceManage.bean.RequestBean;
import com.koron.css2.serviceManage.bean.UserInfoBean;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.ArrayList;

/**
 * 导入模板下载接口
 * @author 张涛
 */
public class CloseUserExport extends AbstractExportExcel{

	@Override
	public AttachmentDto getAttachment(SessionFactory factory, UserInfoBean userInfo, RequestBean req) {


		AttachmentDto attachment = new AttachmentDto();
		attachment.setBtlTemplate("CloseExport.btl");
		attachment.setData(new ArrayList<>());
		attachment.setFilename("销户导入模板");
		attachment.setFileTemplate("CloseExport.xlsx");
		attachment.setFileType("excel");
		return attachment;
	}

}
